{include file="public/header" /}

</head>

<body>
	<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页
		<span class="c-gray en">&gt;</span> 系统管理
		<span class="c-gray en">&gt;</span> 鼓励金记录
		<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新"><i class="Hui-iconfont">&#xe68f;</i></a>
	</nav>
	<div class="page-container">
		<div class="form form-horizontal" id="form-article-add">
			<div id="tab-system" class="HuiTab">
				<div class="tabBar cl">
					<a style="color: black;text-decoration:none;" href="{:url('count/memcommission')}"><span>会员记录</span></a>
					<a style="color: black;text-decoration:none;" href="{:url('count/commission')}"><span>OEM记录</span></a>					
				</div>

				<form class="form form-horizontal" id="form-admin-add" method="post" style="width: 45%;">
					<div class="row cl">
						<label class="form-label col-xs-4">订单号：</label>
						<div class="formControls col-xs-8 ">
							<input id="order_sn" name="order_sn" value="" type="text" class="input-text" placeholder="请输入订单号" >
						</div>
					</div>
					<div class="row cl">
						<label class="form-label col-xs-4">会员名称：</label>
						<div class="formControls col-xs-8 ">
							<input id="nickname" name="nickname" type="text" class="input-text" placeholder="请输会员名称" >
						</div>
					</div>
					<div class="row cl">
						<button type="submit" style="float: right;margin-top: 10px;margin-bottom: 10px;width: 270px;height: 25px;">搜索</button>
					</div>
				</form>
				<div class="tabCon">
					<table class="table table-border table-bordered table-bg">
					<thead>
						<tr class="text-c">						
							<th>订单号</th>
							<th>支付方式</th>
							<th>会员名称</th>
							<th>消息</th>							
							<th>佣金</th>
							<th>日期</th>
						</tr>
					</thead>
					<tbody>
					{volist name="list" id="vo" empty="没有数据"}
					<tr class="text-c">					
						<td>{$vo.order_sn}</td>
						<td>
							{switch name="$vo.pay_type"}
						    {case value="1"}余额{/case}
						    {case value="2"}微信{/case}
						    {case value="3"}支付宝{/case}
						    {case value="4"}银联{/case}
						    {default /}微信
							{/switch}			
						</td>
						<td>{$vo.nickname}</td>
						<td>{$vo.message}</td>						
						<td>{$vo.balance}</td>
						<td>{$vo.add_time}</td>
					</tr>
					{/volist}
					</tbody>
					</table>
					<style>
					.pagination li{float: left;}
					</style>
					<div id="pageNav" class="pageNav">{$list->render()}</div>
				</div>
	
			</div>
		</div>
	</div>
	{include file="public/footer" /}

	<script type="text/javascript">
		$(function() {
			$('.skin-minimal input').iCheck({
				checkboxClass: 'icheckbox-blue',
				radioClass: 'iradio-blue',
				increaseArea: '20%'
			});
			$("#tab-system").Huitab({
				index: 0
			});
		});
	</script>